package com.aishua.fire.entity.account;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value="修改密码对象",description="修改密码对象")
@Data
public class UpdPasswordInfo {

	@ApiModelProperty(value="账户id",name="loginId",example="000")
	private String loginId;
	@ApiModelProperty(value="用户密码",name="userPassword",example="123456")
	
	@Size(min=6 ,max= 16 ,message = "密码长度不符合标准")
	@NotBlank(message="密码不能为空")
	private String userPassword;
}
